﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<SDT.Model.Article>" %>
<div class="data_list">
    <%if (Model.DocumentsInArticles!=null && Model.DocumentsInArticles.Count>0)
    { %>
    <strong>Đính kèm:</strong>
    <ul>
   	  <%foreach (var item in Model.DocumentsInArticles)
        {
         %>
   	    <li>
   	        <%var imgPath=SDT.Lib.Common.Utils.GetIcon(item.Document.Path, string.Empty); %>
   	        <img src="<%=imgPath %>" style="margin-right:5px" />
   	        <%=Html.ActionLink(item.Document.Name,"Download","Data",new{id=item.DocumentID},null) %>
   	    </li>              
       <%} %>
    </ul>
  <%} %>
</div>

